<html>
    <head>
        <meta charset="utf-8">
        <title>Chilay.js Mocha Tests</title>

        <link rel="stylesheet" href="lib/mocha.css" />

        <script src="lib/chai.js"></script>
        <script src="lib/jquery.js"></script>

        <!-- `gulp testrefs` updates these scripts (scripts to be tested) -->

        <!-- inject:js -->
        <script src="../js/src/util/Point.js"></script>
        <script src="../js/cytoscape.js"></script>
        <script src="../js/src/util/RectangleD.js"></script>
        <script src="../js/src/util/DimensionD.js"></script>
        <script src="../js/src/util/PointD.js"></script>
        <script src="../js/src/util/IGeometry.js"></script>
        <script src="../js/src/util/IMath.js"></script>
        <script src="../js/src/util/QuickSort.js"></script>
        <script src="../js/src/util/HashSet.js"></script>
        <script src="../js/src/util/Transform.js"></script>
        <script src="../js/src/util/RandomSeed.js"></script>
        

        <!-- endinject -->

        <script>
            window.require = function (name, fallbackVal) {
              if (fallbackVal) {
                return fallbackVal;
              }

              return window[ name ];
            };
        </script>
    </head>

    <body>
        <div id="mocha"></div>
        <script src="lib/mocha.js"></script>
        <script>mocha.setup('bdd')</script>

        <!-- `gulp testlist` updates these scripts (tester scripts) -->

        <!-- inject:test:js -->
        <script src="util.js"></script>
        <!-- endinject -->

        <script>
            mocha.checkLeaks();
            mocha.run();
        </script>

        <div id="cy"></div>
    </body>
</html>